﻿@model VOD.Models.Comment

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Comment</legend>

    <div class="display-label">Video</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Video.Name)
    </div>

    <div class="display-label">UserID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserID)
    </div>

    <div class="display-label">CommentContent</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CommentContent)
    </div>

    <div class="display-label">PostTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PostTime)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.CommentID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
